FROM haproxy:3.2.2
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
# 暴露Spring Boot应用端口
EXPOSE 10000
RUN mkdir -p /tmp/haproxy && \
    chown haproxy:haproxy /tmp/haproxy